package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Description: 商品订单申请退款入参类
 * @Author: zhuchi
 * @CreateDate: 2020/11/6 12:39
 * @Version: 1.0
 */
@Data
@ApiModel(value = "商品订单申请退款入参类")
public class ProductOrderApplyRefundModel {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "请选择要申请退款的订单")
    private Long productOrderId;

    /**
     * 退款说明
     */
    @ApiModelProperty(value = "退款说明")
    @NotBlank(message = "请选择退款原因")
    private String reasons;

    /**
     * 退款附言
     */
    @ApiModelProperty(value = "退款附言")
    private String reasonsPostscript;

}
